PayPal Franchise Onboarding

How do you onboard a large merchant with hundreds of franchises, like McDonalds, and allow tiered control so that franchisees can access the records they need and corporate can access everything? This was the challenge presented to us by PayPal. We designed a website that met the needs of PayPal, their large merchants, and franchisees.